package com.scala.oop.classDemo

/**
 * Created by Administrator on 2018/1/27/027.
 *
 */
object OopTest {
  def main(args: Array[String]) {
    //    val helloWorld = new HelloWorld();
    //    helloWorld.sayHello()
    //    val beanPropertyDemo = new BeanPropertyDemo();
    //    beanPropertyDemo.test()

    //辅助构造函数
    var c1 = new ConstructorDemo("zhenghui")
    var c2 = new ConstructorDemo("zhenghui",22)

    var m1 = new MainConstructorDemo("zhenghui",22)
    var m2 = new MainConstructorDemo


  }
}
